<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  <title>dil.Highlighter</title>
  <link href="./css/style.css" rel="stylesheet" type="text/css"/>
  <!-- <link href="./img/icon.png" rel="icon" type="image/png"/> -->
  <script type="text/javascript" src="./js/jquery.js"></script>
  <script type="text/javascript" src="./js/modules.js"></script>
  <script type="text/javascript" src="./js/quicksearch.js"></script>
  <script type="text/javascript" src="./js/navigation.js"></script>
  <!--<script type="text/javascript" src="./js/jquery.treeview.js"></script>-->
  <script type="text/javascript">
    var g_moduleFQN = "dil.Highlighter";
  </script>
  
</head>
<body>
<div id="content">
  <h1><a href="./htmlsrc/dil.Highlighter.html" class="symbol">dil.Highlighter</a></h1>
  
<p class="sec_header">Author:</p>Aziz Köksal
<p class="sec_header">License:</p>GPL3
 <p><b>Maturity:</b> average.</p>
<dl>
<dt class="decl">char[] <a class="symbol _function" name="xml_escape" href="./htmlsrc/dil.Highlighter.html#L24" kind="function" beg="24" end="40">xml_escape</a><span class="params">(char[] <em>text</em>)</span>; <a title="Permalink to this symbol" href="#xml_escape" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L24">#</a></dt>
<dd class="ddef">
<div class="summary">Escapes the characters '&lt;', '&gt;' and '&amp;' with named character entities.</div></dd>
<dt class="decl">class <a class="symbol _class" name="TagMap" href="./htmlsrc/dil.Highlighter.html#L43" kind="class" beg="43" end="112">TagMap</a>; <a title="Permalink to this symbol" href="#TagMap" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L43">#</a></dt>
<dd class="ddef">
<div class="summary">Maps tokens to (format) strings.</div>
<dl>
<dt class="decl">string[string] <a class="symbol _variable" name="TagMap.table" href="./htmlsrc/dil.Highlighter.html#L45" kind="variable" beg="45" end="45">table</a>; <a title="Permalink to this symbol" href="#TagMap.table" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L45">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">string[TOK.MAX] <a class="symbol _variable" name="TagMap.tokenTable" href="./htmlsrc/dil.Highlighter.html#L46" kind="variable" beg="46" end="46">tokenTable</a>; <a title="Permalink to this symbol" href="#TagMap.tokenTable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L46">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _ctor" name="TagMap.this" href="./htmlsrc/dil.Highlighter.html#L48" kind="ctor" beg="48" end="75">this</a><span class="params">(string[string] <em>table</em>)</span>; <a title="Permalink to this symbol" href="#TagMap.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L48">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">string <a class="symbol _function" name="TagMap.opIndex" href="./htmlsrc/dil.Highlighter.html#L78" kind="function" beg="78" end="84">opIndex</a><span class="params">(string <em>str</em>, string <em>fallback</em> = "")</span>; <a title="Permalink to this symbol" href="#TagMap.opIndex" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L78">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the value for str, or 'fallback' if str is not in the table.</div></dd>
<dt class="decl">string <a class="symbol _function" name="TagMap.opIndex:2" href="./htmlsrc/dil.Highlighter.html#L87" kind="function" beg="87" end="90">opIndex</a><span class="params">(TOK <em>tok</em>)</span>; <a title="Permalink to this symbol" href="#TagMap.opIndex:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L87">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the value for tok in O(1) time.</div></dd>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Identifier" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Identifier</a>; <a title="Permalink to this symbol" href="#TagMap.Identifier" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.String" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">String</a>; <a title="Permalink to this symbol" href="#TagMap.String" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Char" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Char</a>; <a title="Permalink to this symbol" href="#TagMap.Char" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Number" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Number</a>; <a title="Permalink to this symbol" href="#TagMap.Number" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Keyword" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Keyword</a>; <a title="Permalink to this symbol" href="#TagMap.Keyword" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.LineC" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">LineC</a>; <a title="Permalink to this symbol" href="#TagMap.LineC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.BlockC" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">BlockC</a>; <a title="Permalink to this symbol" href="#TagMap.BlockC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.NestedC" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">NestedC</a>; <a title="Permalink to this symbol" href="#TagMap.NestedC" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Shebang" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Shebang</a>; <a title="Permalink to this symbol" href="#TagMap.Shebang" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.HLine" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">HLine</a>; <a title="Permalink to this symbol" href="#TagMap.HLine" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Filespec" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Filespec</a>; <a title="Permalink to this symbol" href="#TagMap.Filespec" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Illegal" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Illegal</a>; <a title="Permalink to this symbol" href="#TagMap.Illegal" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Newline" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Newline</a>; <a title="Permalink to this symbol" href="#TagMap.Newline" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.SpecialToken" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">SpecialToken</a>; <a title="Permalink to this symbol" href="#TagMap.SpecialToken" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Declaration" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Declaration</a>; <a title="Permalink to this symbol" href="#TagMap.Declaration" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Statement" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Statement</a>; <a title="Permalink to this symbol" href="#TagMap.Statement" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Expression" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Expression</a>; <a title="Permalink to this symbol" href="#TagMap.Expression" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Type" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Type</a>; <a title="Permalink to this symbol" href="#TagMap.Type" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.Other" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">Other</a>; <a title="Permalink to this symbol" href="#TagMap.Other" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dt class="decl">string <a class="symbol _variable" name="TagMap.EOF" href="./htmlsrc/dil.Highlighter.html#L93" kind="variable" beg="93" end="95">EOF</a>; <a title="Permalink to this symbol" href="#TagMap.EOF" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L93">#</a></dt>
<dd class="ddef">
<div class="summary">Shortcuts for quick access.</div></dd>
<dt class="decl">string <a class="symbol _function" name="TagMap.getTag" href="./htmlsrc/dil.Highlighter.html#L98" kind="function" beg="98" end="111">getTag</a><span class="params">(NodeCategory <em>nc</em>)</span>; <a title="Permalink to this symbol" href="#TagMap.getTag" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L98">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the tag for the category 'nc'.</div></dd></dl></dd>
<dt class="decl">int <a class="symbol _function" name="rfind" href="./htmlsrc/dil.Highlighter.html#L116" kind="function" beg="116" end="122">rfind</a><span class="params">(char[] <em>subject</em>, char <em>object</em>)</span>; <a title="Permalink to this symbol" href="#rfind" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L116">#</a></dt>
<dd class="ddef">
<div class="summary">Find the last occurrence of object in subject.</div>
<p class="sec_header">Returns:</p>the index if found, or -1 if not.</dd>
<dt class="decl">char[] <a class="symbol _function" name="getShortClassName" href="./htmlsrc/dil.Highlighter.html#L126" kind="function" beg="126" end="165">getShortClassName</a><span class="params">(Node <em>node</em>)</span>; <a title="Permalink to this symbol" href="#getShortClassName" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L126">#</a></dt>
<dd class="ddef">
<div class="summary">Returns the short class name of a class descending from Node.<br/>
 E.g.: dil.ast.Declarations.ClassDeclaration -&gt; Class</div></dd>
<dt class="decl">struct <a class="symbol _struct" name="TokenEx" href="./htmlsrc/dil.Highlighter.html#L168" kind="struct" beg="168" end="173">TokenEx</a>; <a title="Permalink to this symbol" href="#TokenEx" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L168">#</a></dt>
<dd class="ddef">
<div class="summary">Extended token structure.</div>
<dl>
<dt class="decl">Token* <a class="symbol _variable" name="TokenEx.token" href="./htmlsrc/dil.Highlighter.html#L170" kind="variable" beg="170" end="170">token</a>; <a title="Permalink to this symbol" href="#TokenEx.token" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L170">#</a></dt>
<dd class="ddef">
<div class="summary">The lexer token.</div></dd>
<dt class="decl">Node[] <a class="symbol _variable" name="TokenEx.beginNodes" href="./htmlsrc/dil.Highlighter.html#L171" kind="variable" beg="171" end="171">beginNodes</a>; <a title="Permalink to this symbol" href="#TokenEx.beginNodes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L171">#</a></dt>
<dd class="ddef">
<div class="summary">beginNodes[n].begin == token</div></dd>
<dt class="decl">Node[] <a class="symbol _variable" name="TokenEx.endNodes" href="./htmlsrc/dil.Highlighter.html#L172" kind="variable" beg="172" end="172">endNodes</a>; <a title="Permalink to this symbol" href="#TokenEx.endNodes" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L172">#</a></dt>
<dd class="ddef">
<div class="summary">endNodes[n].end == token</div></dd></dl></dd>
<dt class="decl">class <a class="symbol _class" name="TokenExBuilder" href="./htmlsrc/dil.Highlighter.html#L176" kind="class" beg="176" end="223">TokenExBuilder</a> : DefaultVisitor; <a title="Permalink to this symbol" href="#TokenExBuilder" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L176">#</a></dt>
<dd class="ddef">
<div class="summary">Builds an array of TokenEx items.</div>
<dl>
<dt class="decl">TokenEx*[Token*] <a class="symbol _variable" name="TokenExBuilder.tokenTable" href="./htmlsrc/dil.Highlighter.html#L178" kind="variable" beg="178" end="178">tokenTable</a>; <span class="attrs">[<span class="prot">private</span>]</span> <a title="Permalink to this symbol" href="#TokenExBuilder.tokenTable" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L178">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">TokenEx[] <a class="symbol _function" name="TokenExBuilder.build" href="./htmlsrc/dil.Highlighter.html#L180" kind="function" beg="180" end="201">build</a><span class="params">(Node <em>root</em>, Token* <em>first</em>)</span>; <a title="Permalink to this symbol" href="#TokenExBuilder.build" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L180">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">TokenEx* <a class="symbol _function" name="TokenExBuilder.getTokenEx" href="./htmlsrc/dil.Highlighter.html#L203" kind="function" beg="203" end="208">getTokenEx</a><span class="tparams">()</span><span class="params">(Token* <em>t</em>)</span>; <a title="Permalink to this symbol" href="#TokenExBuilder.getTokenEx" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L203">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">Node <a class="symbol _function" name="TokenExBuilder.dispatch" href="./htmlsrc/dil.Highlighter.html#L211" kind="function" beg="211" end="222">dispatch</a><span class="params">(Node <em>n</em>)</span>; <span class="attrs">[<span class="stc">override</span>]</span> <a title="Permalink to this symbol" href="#TokenExBuilder.dispatch" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L211">#</a></dt>
<dd class="ddef"></dd></dl></dd>
<dt class="decl">void <a class="symbol _function" name="printErrors" href="./htmlsrc/dil.Highlighter.html#L225" kind="function" beg="225" end="229">printErrors</a><span class="params">(Lexer <em>lx</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>)</span>; <a title="Permalink to this symbol" href="#printErrors" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L225">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="printErrors:2" href="./htmlsrc/dil.Highlighter.html#L231" kind="function" beg="231" end="235">printErrors</a><span class="params">(Parser <em>parser</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>)</span>; <a title="Permalink to this symbol" href="#printErrors:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L231">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="printLines" href="./htmlsrc/dil.Highlighter.html#L237" kind="function" beg="237" end="242">printLines</a><span class="params">(uint <em>lines</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>)</span>; <a title="Permalink to this symbol" href="#printLines" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L237">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl">void <a class="symbol _function" name="highlightSyntax" href="./htmlsrc/dil.Highlighter.html#L245" kind="function" beg="245" end="252">highlightSyntax</a><span class="params">(string <em>filePath</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>, bool <em>printHTML</em>, bool <em>opt_printLines</em>)</span>; <a title="Permalink to this symbol" href="#highlightSyntax" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L245">#</a></dt>
<dt class="decl">void <a class="symbol _function" name="highlightSyntax:2" href="./htmlsrc/dil.Highlighter.html#L255" kind="function" beg="255" end="310">highlightSyntax</a><span class="params">(Module <em>modul</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>, bool <em>printHTML</em>, bool <em>opt_printLines</em>)</span>; <a title="Permalink to this symbol" href="#highlightSyntax:2" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L255">#</a></dt>
<dd class="ddef">
<div class="summary">Highlights the syntax in a source file.</div></dd>
<dt class="decl">void <a class="symbol _function" name="highlightTokens" href="./htmlsrc/dil.Highlighter.html#L313" kind="function" beg="313" end="343">highlightTokens</a><span class="params">(string <em>filePath</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>, bool <em>opt_printLines</em>)</span>; <a title="Permalink to this symbol" href="#highlightTokens" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L313">#</a></dt>
<dd class="ddef">
<div class="summary">Highlights all tokens of a source file.</div></dd>
<dt class="decl">class <a class="symbol _class" name="TokenHighlighter" href="./htmlsrc/dil.Highlighter.html#L346" kind="class" beg="346" end="382">TokenHighlighter</a>; <a title="Permalink to this symbol" href="#TokenHighlighter" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L346">#</a></dt>
<dd class="ddef">
<div class="summary">A token highlighter designed for Ddoc code sections.</div>
<dl>
<dt class="decl">TagMap <a class="symbol _variable" name="TokenHighlighter.tags" href="./htmlsrc/dil.Highlighter.html#L348" kind="variable" beg="348" end="348">tags</a>; <a title="Permalink to this symbol" href="#TokenHighlighter.tags" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L348">#</a></dt>
<dd class="ddef"></dd>
<dt class="decl"><a class="symbol _ctor" name="TokenHighlighter.this" href="./htmlsrc/dil.Highlighter.html#L350" kind="ctor" beg="350" end="353">this</a><span class="params">(Diagnostics <em>diag</em>, TagMap <em>tags</em>)</span>; <a title="Permalink to this symbol" href="#TokenHighlighter.this" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L350">#</a></dt>
<dd class="ddef">
<div class="summary">Constructs a TokenHighlighter object.</div></dd>
<dt class="decl">string <a class="symbol _function" name="TokenHighlighter.highlight" href="./htmlsrc/dil.Highlighter.html#L357" kind="function" beg="357" end="381">highlight</a><span class="params">(string <em>text</em>, string <em>filePath</em>)</span>; <a title="Permalink to this symbol" href="#TokenHighlighter.highlight" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L357">#</a></dt>
<dd class="ddef">
<div class="summary">Highlights tokens in a DDoc code section.</div>
<p class="sec_header">Returns:</p>a string with the highlighted tokens (in HTML tags.)</dd></dl></dd>
<dt class="decl">void <a class="symbol _function" name="printToken" href="./htmlsrc/dil.Highlighter.html#L385" kind="function" beg="385" end="464">printToken</a><span class="params">(Token* <em>token</em>, TagMap <em>tags</em>, Print!(char) <em>print</em>)</span>; <a title="Permalink to this symbol" href="#printToken" class="symlink">¶</a><a title="Go to the HTML source file" class="srclink" href="./htmlsrc/dil.Highlighter.html#L385">#</a></dt>
<dd class="ddef">
<div class="summary">Prints a token to the stream print.</div></dd></dl>
</div>
<div id="footer">
  <p>Copyright © 2007-2008, Aziz Köksal. All rights reserved.</p>
  <p>Page generated by <a href="http://code.google.com/p/dil">dil</a> on Fri Dec 26 04:12:54 2008. Rendered by <a href="http://code.google.com/p/dil/wiki/Kandil">kandil</a>.</p>
</div>
</body>
</html>